const isWeChatBrowser = () => {
	let ua = window.navigator.userAgent.toLowerCase()
	if (ua.match(/MicroMessenger/i) == 'micromessenger') {
		return true;
	}
	return false;
}
const isAliBrowser = () => {
	let ua = window.navigator.userAgent.toLowerCase()
	if (ua.match(/alipayclient/i) == 'alipayclient') {
		return true;
	}
	return false;
}

export default {
	isWeChatBrowser,
	isAliBrowser
}
